extends "../ruihe-3/ruihe-3.gd"


var baseId = ""
var upText1 = "热带暴风伤害提高50%"
var upText2 = "最后的精锐赋予的双攻额外+50"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("每{cd}秒对全体敌方召唤物造成[航空*5]的技能伤害", "热带暴风", "ruihe4", 8)

func _castCdSkill(id):
	._castCdSkill(id)
	if id == "ruihe4":
		ruihe4()

func ruihe4():
	for i in getAllChas(1):
		if i.isSumm:
			azurHurtChara(i, att.air*5, sys.HurtType.WEAPON, sys.AtkType.SKILL, "热带暴风", false, p4)
var p4 = 1
func upgrade():
	.upgrade()
	if upgraded == 1:
		p4 = 1.5